package com.zwk.sta.client;

import com.zwk.base.entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zwk
 * @create 2022/9/2 15:33
 */
@FeignClient(name = "service-ucenter")
public interface MemberClient {

    // 查询某一天的注册人数
    @GetMapping("/center/member/countRegister/{day}")
    public CommonResult countRegister(@PathVariable("day") String day);

}
